<?php

namespace App\Http\Controllers\Api\SmallApp\Article;

use App\Http\Controllers\Common\ApiController;
use App\Models\Article\ArticleInfo;
use Illuminate\Http\Request;

class ArticleController extends ApiController {

    public function lst(Request $request) {
        $conditions['orderBy']['col'] = 'id';
        $conditions['orderBy']['sort'] = 'asc';
        $records = (new ArticleInfo())->getLst($conditions)->get();
        return responseSuccess($records->toArray());

    }
}
